<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>

<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    <title>添加Bug信息详情</title>
   <script type="text/javascript" src="js/jquery-3.1.1.min.js"></script>
  <script type="text/javascript" src="plug-in/ueditor/ueditor.config.js"></script>
  <script type="text/javascript" src="plug-in/ueditor/ueditor.all.min.js"></script>
  </head>
  <body>
  <form action="bugInfoController/addBug" method="post">
  	<div style="margin:0px auto;width:800px;text-align:center;margin-top:50px">
  		<textarea name="description" style="width:400px;height:100px;max-width:400px;max-height:100px;" placeholder="BUG问题描述:" ></textarea>
  		<script type="text/plain" id="solution" name="solution" style="margin-top:30px"></script>
  		<input type="submit" value="添加" style="width:70px;height:30px;margin-top:30px"/>
  	</div>
  	</form>
  	<script type="text/javascript">
  	$(function(){
  	var ue = UE.getEditor('solution', {
 		toolbars: [
		[
		'undo', //撤销
		'redo', //重做
		'selectall', //全选
		'bold', //加粗
		'fontfamily', //字体
		'fontsize', //字号
		'forecolor', //字体颜色
		'backcolor', //背景色
		'indent', //首行缩进
		'italic', //斜体
		'formatmatch', //格式刷
		'removeformat', //清除格式
		'pasteplain', //纯文本粘贴模式
		'touppercase', //字母大写
		'tolowercase', //字母小写
		'date', //日期
		'time', //时间
		'underline', //下划线
		'strikethrough', //删除线
		'subscript', //下标
		'justifyleft', //居左对齐
		'justifyright', //居右对齐
		'justifycenter', //居中对齐
		'justifyjustify', //两端对齐
		'insertorderedlist', //有序列表
		'insertunorderedlist', //无序列表
		'simpleupload', //单图上传
		'insertimage', //多图上传
		'cleardoc', //清空文档
		'fullscreen', //全屏
		]],
		initialFrameWidth : 1000,//富文本宽度
		initialFrameHeight :200,//富文本高度
	});
	});
	</script>
  </body>
</html>
